package com.uca.sisbec.beans;

import com.uca.sisbec.commons.Utils;
import java.util.Date;

public class CommentBean {
    private int id;
    private String comment;
    private Date dateTime;
    
    public CommentBean(int id, String comment, Date dateTime){
        this.id = id;
        this.comment = comment;
        this.dateTime = dateTime;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getDateTime() {
        return Utils.getStringUtilDateAndTime(dateTime);
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
